﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.db2
{
	// Token: 0x020001E5 RID: 485
	public class TDb2SetStmt : TCustomDb2Stmt
	{
		// Token: 0x0600105C RID: 4188 RVA: 0x0030CDE9 File Offset: 0x0030AFE9
		public TDb2SetStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstdb2set;
		}

		// Token: 0x0600105D RID: 4189 RVA: 0x0030CDFD File Offset: 0x0030AFFD
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x0600105E RID: 4190 RVA: 0x0030CE12 File Offset: 0x0030B012
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0600105F RID: 4191 RVA: 0x0030CE22 File Offset: 0x0030B022
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
